//
//  DCScrollView.h
//  JiuyaoMotorcade
//
//  Created by 大橙子 on 2018/11/30.
//  Copyright © 2018 Tomous. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class DCScrollView;
@protocol DCScrollViewDelegate <NSObject>
/**
 *  点击图片的回调事件
 */
- (void)DC_scrollView:(DCScrollView *)scrollView indexOfClickedImageBtn:(NSUInteger)index;

@end
@interface DCScrollView : UIView
//传入图片数组
@property (nonatomic, copy) NSArray *images;
//pageControl颜色设置
@property (nonatomic, strong) UIColor *currentPageColor;
@property (nonatomic, strong) UIColor *pageColor;
//是否竖向滚动
@property (nonatomic, assign, getter=isScrollDorectionPortrait) BOOL scrollDorectionPortrait;

@property (weak, nonatomic) id<DCScrollViewDelegate> delegate;
@end

NS_ASSUME_NONNULL_END
